package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.BasicEmailConfig;

/**
 * 邮箱配置Mapper接口
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public interface BasicEmailConfigMapper 
{
    /**
     * 查询邮箱配置
     * 
     * @param emailConfigId 邮箱配置主键
     * @return 邮箱配置
     */
    public BasicEmailConfig selectBasicEmailConfigByEmailConfigId(Long emailConfigId);

    /**
     * 查询邮箱配置列表
     * 
     * @param basicEmailConfig 邮箱配置
     * @return 邮箱配置集合
     */
    public List<BasicEmailConfig> selectBasicEmailConfigList(BasicEmailConfig basicEmailConfig);

    /**
     * 新增邮箱配置
     * 
     * @param basicEmailConfig 邮箱配置
     * @return 结果
     */
    public int insertBasicEmailConfig(BasicEmailConfig basicEmailConfig);

    /**
     * 修改邮箱配置
     * 
     * @param basicEmailConfig 邮箱配置
     * @return 结果
     */
    public int updateBasicEmailConfig(BasicEmailConfig basicEmailConfig);

    /**
     * 删除邮箱配置
     * 
     * @param emailConfigId 邮箱配置主键
     * @return 结果
     */
    public int deleteBasicEmailConfigByEmailConfigId(Long emailConfigId);

    /**
     * 批量删除邮箱配置
     * 
     * @param emailConfigIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBasicEmailConfigByEmailConfigIds(Long[] emailConfigIds);
}
